home *** CD-ROM | disk | FTP | other *** search
- /*
- ****************************************************************************
- *Copyright 1992 Regents of The University of Michigan - All Rights Reserved*
- * *
- * Permission to use, copy, modify, and distribute this software and its *
- * documentation for any purpose and without fee is hereby granted, *
- * provided that the above copyright notice appears in all copies and that *
- * both that copyright notice and this permission notice appear in *
- * supporting documentation, and that the name of The University of Michigan*
- * not be used in advertising or publicity pertaining to distribution of *
- * the software without specific, written prior permission. This software *
- * is supplied as is without expressed or implied warranties of any kind. *
- * *
- * Center for Information Technology Integration *
- * Information Technology Division *
- * The University of Michigan *
- * 519 W. William Street *
- * Ann Arbor, Michigan 48103 *
- * +1 313-764-5440 *
- * FAX: +1 313-764-4434 *
- * info@citi.umich.edu *
- * kilroy was here *
- ****************************************************************************
- */
-
- /* Structure for AppleShare 2.0.1 VCB. Other versions my be drastically different...
- Documented by Dave Koziol.
- Unearthed by Mark Smith and Wes Craig.
- */
-
- typedef struct {
- struct QElem * qLink;
- short qtype;
- short vcbFlags;
- short vcbSigWord;
- long vcbCrDate;
- long vcbLsMod;
- short vcbAtrb;
- short vcbNmFls;
- short vcbVBMSt;
- short vcbAllocPtr;
- short vcbNmAlBlks;
- long vcbAlBlkSiz;
- long vcbClpSIz;
- short vcbAlBlSt;
- long vcbNxtCNID;
- short vcbFreeBks;
- char vcbVN[28];
- short vcbDrvNum;
- short vcbDRefNum;
- short vcbFSID;
- short vcbVRefNum;
- Ptr vcbMAdr;
- Ptr vcbBufAdr;
- short vcbMLen;
- short vcbDirIndex;
- short vcbDirBlk;
- long vcbVolBkUp;
- short vcbVSeqNum;
- long vcbWrCnt;
- long vcbXTClpSiz;
- long vcbCTClpSiz;
- short vcbNmRtDirs;
- long vcbFilCnt;
- long vcbDirCnt;
- long vcbFndrInfo[8];
- short vcbVCSize;
- short vcbVBMCSiz;
- short vcbCtlCSiz;
- short vcbXTAlBlks;
- short vcbCTAlBlks;
- short vcbXTRef;
- short vcbCTRef;
- Ptr vcbCtlBuf;
- long vcbDirIDM;
- short vcbOffsM;
- short junk1; /* These fields aren't really, just, but I don't */
- short junk2; /* know what's in them yet... */
- short vcbSRefNum;
- short vcbServerVol;
- long vcbServerAddr;
- short junk4;
- short junk5;
- short junk6;
- short junk7;
- char junk8;
- unsigned char vcbLoginMethod;
- char vcbUserName[32];
- char junk9[64];
- long vcbLocalHand;
- char junk10[260];
- char vcbFindWhere[64];
- } AVCB;
-